home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 8010 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: news.corpcomm.net!dkirk
  2. From: rnath@brookings.net (Rick W Nath)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Learning C++
  5. Date: Sat, 17 Feb 1996 18:44:18 GMT
  6. Organization: Corporate Communications
  7. Message-ID: <312620e8.88282208@news.brookings.net>
  8. References: <3122A6ED.6BA4@inch.com> <3123414F.39CF@staff.ichange.com>
  9. NNTP-Posting-Host: m4.brookings.net
  10. X-Newsreader: Forte Agent .99d/32.182
  11.  
  12. Jesse Liberty <jl@staff.ichange.com> wrote:
  13.  
  14. > Ken Blum wrote:
  15. > > 
  16. > >  1) Is C a prerequisite to learning C++?  Or can I just take a C++
  17. > >  class?
  18. > Not only is it not prerequisite, I'd argue it is a MISTAKE to start with C.  C is syntactically a sub-set of C++ but the 
  19. > semantics (meaning of the language) are very different.  I would strongly urge you to learn C++ first.
  20. > > 
  21. > >  3) Will learning either language on the Mac platform transfer to
  22. > >  Windows, UNIX or Windows NT.
  23. > Yes, in large measure,because all the C++ will be the same. But you'll quickly be learning how to work (indirectly) with the 
  24. > mac toolbox, and with the class libraries created for the mac, and these will not directly transfer.
  25. > -- 
  26. > Jesse Liberty    jl@staff.ichange.com
  27. > AT&T             CIS: 72241,72
  28.  
  29. I would definitely argue your first point.  There semantic differences
  30. between C and C++, but the primary differences are that C++ supports Object
  31. Oriented Programming within its semantics.  You can support an Object
  32. Oriented style of programming in C just as well as C++.  Look at Motif,
  33. that was written in an Object Oriented Style of Design but implemented in
  34. C.
  35.